package com.example.vote.springboot_vote.services;

import com.example.vote.springboot_vote.bean.User;

import java.util.List;
import java.util.Map;

public interface UserServices {
    User register(User user);

    User login(User user);

    User getUser(User user);

    List<User> getUserListByPage(Map pageInfo);
    List<User> getUserListByPageXml(Map pageInfo);


}
